FROM {harborHost}/library/oraclejdk:0.0.2
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone
ADD InvoiceRecognizer-1.0-SNAPSHOT.jar InvoiceRecognizer.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/InvoiceRecognizer.jar", "--spring.config.location=/opt/data/invoice/2020-09/application.properties"]
